#define  _CRT_SECURE_NO_WARNINGS 1
#include"queue.h"

void test1()
{
	Queue q;
	Queue_Init(&q);

	Queue_push(&q,1);
	Queue_push(&q, 2);
	Queue_push(&q, 3);
	Queue_push(&q, 4);
	while (q.size > 0)
	{
		printf("%d", q.phead->data);
		Queue_pop(&q);
	}

	Queue_Destroy(&q);

}

int main()
{
	test1();

	return 0;
}